<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
use yii\helpers\Url;

AppAsset::register($this);

$sql = "select sum(total_num) total_num  from t_data_job_list where date_line = (select max(date_line) from  t_data_job_list)";

$Num = Yii::$app->db->createCommand($sql)->queryScalar();
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
    <script src="http://echarts.baidu.com/build/dist/echarts.js"></script>
</head>
<body class="">
<?php $this->beginBody() ?>

<div class="wrap">
    <div class="header">
        <div class="header-inner">
            <div class="pull-left">
                <a href="index.php" class="logo-icon"> </a>
            </div>
            <div class="menu-wrap">
                <ul class="menu menu-horizontal">
                    <li data-target="home" class="to-home active">
                        <a href="index.php" target="_self"> <span></span>首页</a>
                    </li>
                    <li data-target="museum">
                        <a href="<?php echo Url::to(['city/avgdesc']); ?>"> <span></span>城市平均工资排行榜</a>
                    </li>
                    <li data-target="museum">
                        <a href="<?php echo Url::to(['job/avgdesc']); ?>"> <span></span>职位平均工资排行榜</a>
                    </li>
                    <li data-target="museum">
                        <a href="<?php echo Url::to(['search/moredesc']); ?>"> <span></span>神马排行</a>
                    </li>
                </ul>
                <div style="display: inline-block; left: 57px; width: 32px;" id="header-blue-block"></div>
            </div>
            <div class="pull-right">
                <div class="header-account">
                    <div class="unlogin">
                        <a class="login" href="#">目前统计量为：<?php echo $Num ?></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?= Breadcrumbs::widget([
        'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
    ]) ?>
    <?= $content ?>

</div>
<div class="footer default">
    <ul>
        <li>
            <a href="<?php echo Url::to(['duty/index']); ?>" target="_blank">使用数据前必读</a>
            |
        </li>
        <li>
            <a href="http://www.daniuit.com" target="_blank">大牛学院</a>
            |
        </li>
        <li>
            <a href="http://vip.daniuit.com/" target="_blank">vip学员系统</a>|
        </li>
        <li>
            <a href="http://www.daniuit.com/vip/index.html" target="_blank">关于大牛</a>|
        </li>
        <li>
            <a href="<?php echo Url::to(['map/index']); ?>" target="_blank">网站地图</a>
        </li>
    </ul>
</div>
<svg id="SvgjsSvg1002" xmlns="http://www.w3.org/2000/svg" version="1.1" width="2" height="0" xmlns:xlink="http://www.w3.org/1999/xlink" style="opacity: 0; position: fixed; left: 100%; top: 100%; overflow: hidden;">
    <polyline id="SvgjsPolyline1005" points="0,0"></polyline>
    <path id="SvgjsPath1004"></path>
    <defs id="SvgjsDefs1003"></defs>
</svg>
<div></div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
